projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bc421
)
(init_sys_modes): Clear INLCR like ICRNL.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 8 Mar 1996 17:43:20 +0000
(17:43 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 8 Mar 1996 17:43:20 +0000
(17:43 +0000)
src/sysdep.c
patch
|
blob
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index bcb624e20408ff84aa482cc646f45fdd87763612..0180d8601e8aaf8513304eda2ad784cb8d08b70e 100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-1250,6
+1250,10
@@
init_sys_modes ()
#endif
tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */
tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */
+#ifdef INLCR /* I'm just being cautious,
+ since I can't check how widespread INLCR is--rms. */
+ tty.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */
+#endif
#ifdef ISTRIP
tty.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */
#endif